<template>
    <ul>
        <li v-for="(item,index) in fileList" :key="index">
            {{item.dirname?item.dirname:item.filename}}
            <test :fileList="item.children" v-if="item.children"></test>
        </li>
    </ul>
</template>
<script>
export default {
    name:'test',
    props:{
        fileList:Array
    }
}
</script>
